<nav class="navbar-default navbar-static-side" role="navigation">
    <div class="nav-close"><i class="fa fa-times-circle"></i>
    </div>
    <div class="sidebar-collapse">
        <ul class="nav" id="side-menu">
            <li class="nav-header">
                <div class="dropdown profile-element">
                    <span><img alt="image" class="img-circle" src="__STATIC__/admin/img/profile_small.png" /></span>
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                        <span class="clear">
                            <span class="block m-t-xs"><strong class="font-bold">{:session('user.username')}</strong></span>
                            <span class="text-muted text-xs block">{:session('user.auth_title')}<b class="caret"></b></span>
                        </span>
                    </a>
                    <ul class="dropdown-menu animated fadeInRight m-t-xs">
                        <!--<li><a class="J_menuItem" href="form_avatar.html">修改头像</a>-->
                        <!--</li>-->
                        <!--<li><a class="J_menuItem" href="profile.html">个人资料</a>-->
                        <!--</li>-->
                        <!--<li><a class="J_menuItem" href="contacts.html">联系我们</a>-->
                        <!--</li>-->
                        <!--<li><a class="J_menuItem" href="mailbox.html">信箱</a>-->
                        <!--</li>-->
                        <!--<li class="divider"></li>-->
                        <li><a href="{:url('admin/login/out')}">安全退出</a>
                        </li>
                    </ul>
                </div>
                <div class="logo-element">H+</div>
            </li>
            <!--菜单列表 start-->
            {volist name='menus' id='pmenu'}
            {notempty name='pmenu.sub'}
            <li>
                <a href="#"><i class="{$pmenu.icon}"></i> <span class="nav-label">{$pmenu.title}</span><span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    {volist name='pmenu.sub' id='menu'}
                    {empty name='menu.sub'}
                    <li><a class="J_menuItem" href="{$menu.url}"><span class="nav-label">{$menu.title}</span></a></li>
                    {else}
                    <li>
                        <a href="#"><i class="{$menu.icon}"></i> <span class="nav-label">{$menu.title}</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-third-level">
                            {volist name='menu.sub' id='submenu'}
                            <li><a class="J_menuItem" href="{$submenu.url}"><i class="{$submenu.icon}"></i><span class="nav-label">{$submenu.title}</span></a></li>
                            {/volist}
                        </ul>
                    </li>
                    {/empty}
                    {/volist}
                </ul>
            </li>
            {/notempty}
            {/volist}
            <!--菜单列表 end-->
        </ul>
    </div>
</nav>